﻿<%@ Page Language="C#" MasterPageFile="~/TangoFamilyAndGuide.Master" AutoEventWireup="true" CodeBehind="HousingReservar.aspx.cs" Inherits="TangoFamilyAndGuide.Site.HousingReservar" Theme="Tango" Culture="en-GB" UICulture="en-GB" MaintainScrollPositionOnPostback="false" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxToolkit" %>
<%@ Register TagPrefix="uc1" TagName="domicilio" Src="~/Controles/Domicilio.ascx" %>
<%@ Register TagPrefix="uc1" TagName="contacto" Src="~/Controles/Contacto.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" style="padding-left:10px; vertical-align:top">
        <tr>
            <td align="center" colspan="2" style="padding-top:20px">
                <asp:Label ID="TituloPaginaLabel" runat="server" SkinID="TituloPagina" Text="Reservation of Milonguero Housing Network"></asp:Label>
                <asp:Label ID="TargetControlIDdelModalPopupExtender1" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2" style="padding-top:10px">
                <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:Label ID="MensajeLabel" runat="server" SkinID="MensajePagina" Text=""></asp:Label>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td align="right" style="padding-right:5px; vertical-align:top">
                <asp:Label ID="Label7" runat="server" Text="Id." Visible="false"></asp:Label>
            </td>
            <td align="left" style="padding-top:5px; vertical-align:top">
                <asp:TextBox ID="IdHousingTextBox" runat="server" MaxLength="50" TabIndex="4" Width="150px" Visible="false"></asp:TextBox>
            </td>        
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:2px">
                <asp:Label ID="Label9" runat="server" Text="Description" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top:2px;">
                <asp:Label ID="DescripcionLabel" runat="server" Text=""></asp:Label>
            </td>        
        </tr>
        <!-- Dirección -->
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label1" runat="server" Text="Address" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
                <!-- Dirección -->
                <asp:Label ID="DireccionLabel" runat="server"></asp:Label>
                <!-- Código postal -->
		        Cod.Post: <asp:Label ID="CodPostLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
                <!-- Pais -->
		        <asp:Label ID="PaisLabel" runat="server"></asp:Label>
                <!-- Provincia -->
		        <asp:Label ID="ProvinciaLabel" runat="server"></asp:Label>
                <!-- Ciudad o Localidad -->
		        <asp:Label ID="LocalidadLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <!-- Contacto -->
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label5" runat="server" Text="Contact" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
            <!-- Nombre contacto -->
		    <asp:Label ID="NombreContactoLabel" runat="server"></asp:Label>
            <!-- Mail Contacto -->
		    <asp:Label ID="EmailContactoLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top: 2px;">
                <!-- Teléfono contacto -->
		        Tel: <asp:Label ID="TelefonoContactoLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <!-- Detalles -->
        <%if (ComentariosLabel.Text != "" || GoogleMapLabel.Text != "")
        {%>
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label6" runat="server" Text="Details" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (ComentariosLabel.Text != "")
          {%>
        <tr>
            <td align="left" style="padding-top: 5px" valign="top">
                Additional information: <asp:Label ID="ComentariosLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <%if (GoogleMapLabel.Text != "")
          {%>
        <tr>
            <td align="left" colspan="2" style="padding-top: 5px" valign="top">
                GoogleMap Address: <asp:Label ID="GoogleMapLabel" runat="server"></asp:Label>
            </td>
        </tr>
        <%} %>
        <!-- Imagenes -->
        <tr>
            <td align="left" colspan="2" style="padding-right:5px; padding-top:12px; vertical-align:top">
                <asp:Label ID="Label4" runat="server" Text="Images" SkinID="TituloColor1Grande"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2" >
                <table border="0" cellpadding="0" cellspacing="0" style="padding-left:0px">
                    <tr>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="ImagenPortadaLabel" runat="server" Text="Main Photo"></asp:Label>
                        </td>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="Imagen1Label" runat="server" Text="Image 1"></asp:Label>
                        </td>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="Imagen2Label" runat="server" Text="Image 2"></asp:Label>
                        </td>
                        <td align="left" style="padding-right: 5px; padding-top: 5px">
                            <asp:Label ID="Imagen3Label" runat="server" Text="Image 3"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                           <a id="linkPortada" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                               <asp:Image ID="ImagePortada" runat="server" BorderStyle="Solid" BorderWidth="1px"
                                   BorderColor="#cccccc" ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                           </a>
                        </td>
			            <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                            <a id="linkImage1" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                                <asp:Image ID="Image1" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="#cccccc"
                                    ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                            </a>
			            </td>
	                    <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                            <a id="linkImage2" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                                <asp:Image ID="Image2" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="#cccccc"
                                    ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                            </a>
	                    </td>
			            <td align="left" style="padding-right:25px; padding-top:5px; vertical-align:top">
                            <a id="linkImage3" runat="server" href="Imagenes/Interrogacion.jpg" target="_blank">
                                <asp:Image ID="Image3" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="#cccccc"
                                    ImageUrl="~/Imagenes/Interrogacion.jpg" Width="90px" />
                            </a>
			            </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-top:20px">
                <asp:Button ID="SalirButton" runat="server" CausesValidation="false" TabIndex="504" Text="Exit" PostBackUrl="~/Home.aspx" />
                <input type="button" value="Go back" name="Volver" onclick="history.back()" />
                <asp:Button ID="AceptarButton" runat="server" CausesValidation="false" TabIndex="504" Text="Confirm Reservation" OnClick="AceptarButton_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
